在群里看到的。记录以备用。 sed 帮助命令:http://man.linuxde.net/sed 文件里有如下行,我想将每行的回车符替换为逗号,并将所有行合并到一行,用awk或 ...
在群里看到的。记录以备用。 sed 帮助命令:http://man.linuxde.net/sed 文件里有如下行,我想将每行的回车符替换为逗号,并将所有行合并到一行,用awk或 ...
--递归查找目录下含有该字符串的所有文件 grep -rn "data_chushou_pay_info" /home/hadoop/nisj/automationDemand/ --查找 ...
1、文件夹/tmp/001 /tmp/002 问题:、 1、查看2个文件夹不同的文件; tree -C directory1 directory2 ## -C 标 ...
ls -l --time-style=long-iso|grep 2017-05-01 ls -l --time-style=long-iso *sout*log*|grep -v $(date ...
iptables防火墙 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 s ...
以下脚本可以完成如下工作: 使用 ./comp A B 或者 ./comp A B force 来对比文件 该脚本会用 hexdump 导出二进制文件的十六进制字符表达 之后使用 vi ...